Skip to main content

NetGraph

NetGraph[{layer1,layer2,…},{m1->n1,m2->n2,…}] specifies a neural net defined by a graph in which the output of layer mi is given as input to layer ni.

NetGraph[<|name1->layer1,name2->layer2,…|>,{namem1->namen1,…}] specifies a net with explicitly named layers.

NetGraph[layer] converts a layer or a NetChain into an equivalent minimal NetGraph.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.